<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>{{ $siteinfo['title'] }}</title>
    <meta name="keywords" content="{{ $siteinfo['keywords'] }}">
    <meta name="description" content="{{ $siteinfo['description'] }}">
    <meta name="format-detection" content="telephone=no">
    <meta name="format-detection" content="email=no">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no">
    <link rel="shortcut icon" href="/favicon.ico">
    <link href="https://cdn.bootcss.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet">
    {{--  <link href="{{ env('APP_STATIC') }}vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">  --}}
    <!-- Bootstrap core CSS -->
    <!-- Custom styles for this template -->
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
    <link href="{{ env('APP_STATIC') }}css/modern-business.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" media="screen" href="{{ env('APP_STATIC') }}css/framework.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="{{ env('APP_STATIC') }}css/simple-sidebar.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="{{ env('APP_STATIC') }}css/project.css" />
    <style>
        div.menu-toggle{
            float: left;
            position: absolute;
            left: 0;
            top: 0;
        }

        div.menu-toggle span{
            height: 35px;
            width: 20px;
            text-align: center;
            line-height: 35px;
            color: #ffffff;
            cursor: pointer;
            background-color: #343a40;
        }
    </style>
</head>
<body>
    @include('project.common.header')
    <div id="wrapper" class="toggled">
        <!-- Sidebar -->
        <div id="sidebar-wrapper" style="background: #343a40;">
    @include('project.common.menu')
        </div>
        <!-- /#sidebar-wrapper -->
        <!-- Page Content -->
        <div id="page-content-wrapper">
            <div class="menu-toggle">
                <span href="#menu-toggle" class="fa fa-angle-left" id="menu-toggle"></span>
            </div>
            @yield('content')
        </div>
        <!-- /#page-content-wrapper -->
    </div>
    <!-- /#wrapper -->
    <!-- Bootstrap core JavaScript -->
    <script src="{{ env('APP_STATIC') }}vendor/jquery/jquery.min.js"></script>
    <script src="{{ env('APP_STATIC') }}vendor/bootstrap/js/bootstrap.bundle.min.js"></script>
    <script src="https://cdn.bootcss.com/marked/0.3.17/marked.min.js"></script>
    <script src="{{ env('APP_STATIC') }}vendor/layer/layer.js"></script>
    <script src="{{ env('APP_STATIC') }}common/js/config.js"></script>
    <script src="{{ env('APP_STATIC') }}project/js/config.js"></script>
    <script src="{{ env('APP_STATIC') }}common/js/tool.js"></script>
    <script src="{{ env('APP_STATIC') }}project/js/common.js"></script>
    <script>
        $("#menu-toggle").click(function(e) {
            e.preventDefault();
            $("#wrapper").toggleClass("toggled");
        });
    </script>
    @yield('script')
</body>
</html>